﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AutoPartsSearch.Domain.Entities
{
    public class Seller
    {
        public int Id { get; set; }

        public string INN { get; set; }

        public string FullName { get; set; }

        public string CompanyName { get; set; }

        public string Adress { get; set; }

        public Dictionary City { get; set; }

        public string EMail { get; set; }

        public string Phone { get; set; }

        public string Phone2 { get; set; }

        public string MobilePhone { get; set; }

        public string Site { get; set; }

        public IEnumerable<Dictionary> CarBrands { get; set; }

        public IEnumerable<Dictionary> PartGroups { get; set; }

        public bool IsDeliveryOnlyToRegion { get; set; }

        public bool ReceiveQueriesByEmail { get; set; }

        public bool IsBlocked { get; set; }

        public Guid Code { get; set; }

        public DateTime Expired { get; set; }

        public string  Sign { get; set; }

        public string DirectorName { get; set; }

        public DateTime Created { get; set; }

        public bool IsIndividual { get; set; }

        public bool IsQuoteEnabled { get; set; }

        public bool IsExpired 
        {
            get { return this.Expired <= DateTime.Now.Date; }
        }

    }
}
